#ifndef TABLE_SYMB_H
#define TABLE_SYMB_H

#include <iostream>
#include <string>
#include <stdio.h>
#include "Symbole.hpp"
#include "Cste.hpp"
#include <map>


using namespace std;

/**
*	Classe pour la gestion de la table des symboles
*/
class TableSymb
{
	private:
 		map<const unsigned int, Symbole*> symboles;

	public:
		TableSymb();
		void add(const unsigned int id, const Symbole* symb);

		/*
 		 * @return null si non trouve, le symbole sinon.
 		 */
		Symbole* get(const unsigned int id) const;
		void print() const;
		~TableSymb();
};

#endif
